import pathlib;
import asyncio;

from ..xdg_dir_spec import lib as xdg;

async def main():
    src = pathlib.Path(__file__).parent.joinpath("config")
    dist = xdg.get_config_home().joinpath("nvim")
    if dist.exists():
        dist.unlink()
    dist.symlink_to(src, target_is_directory=True)

asyncio.run(main())

